package com.tqjc.mes.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tqjc.mes.entity.SteelInfo;
import com.tqjc.mes.mapper.SteelInfoMapper;
import com.tqjc.mes.service.SteelInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SteelInfoServiceImpl extends ServiceImpl<SteelInfoMapper, SteelInfo> implements SteelInfoService {
    @Resource
    private SteelInfoMapper steelInfoMapper;
    @Override
    public List<SteelInfo> selectByMatNo(String matNo) {
        return steelInfoMapper.selectByMatNo(matNo);
    }

    @Override
    public List<SteelInfo> selectAll() {
               return list();
    }
}
